package org.x.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "sa-token")
@Data
public class JwtProperties {
    private String jwtSecretKey;
    private Long expiration = 3600L; // 默认1小时
}